﻿using System;
using System.Windows.Forms;

namespace RayDen.SceneLab.Controllers
{
    public class EditorControllerBase<TForm, TState> : FormControllerBase<TForm>
        where TForm : Form
        where TState : class, ICloneable

    {
        protected ControllerState<TState> State;

        public EditorControllerBase(Form owner, TState initial = null) : base(owner)
        {
            State = new ControllerState<TState>(initial);
        }
    }
}